#include "weapons.h"


cWeapon::cWeapon()
{
	mName.clear(); mDescription.clear(); mType = -1; mValue = 0; isTwoHanded = isHeavy = false; isSellable = true;
}

cWeapon::~cWeapon()
{

}

// TODO: (Admin#1) Finish
bool cWeapon::Use(string sAction)
{
	const char *tmp = sAction.c_str();
	switch (mType)
	{
	case 0: // unarmed
		switch(*tmp)
		{
			// add code based on actions	
		}
		break;
	case 1: // dagger
		switch(*tmp)
		{
			// add code based on actions	
		}
		break;
	case 2: // axe
		switch(*tmp)
		{
			// add code based on actions	
		}
		break;
	case 3: // sword
		switch(*tmp)
		{
			// add code based on actions	
		}
		break;
	case 4: // polearm
		switch(*tmp)
		{
			// add code based on actions	
		}
		break;
	case 5: // ranged
		switch(*tmp)
		{
			// add code based on actions	
		}
	default:
		break;
	}
	return true;
}
